﻿using Minecraft.Model;
using System.Collections.Generic;

namespace Minecraft.ServerHall
{
	/// <summary>
	/// Minecraft session info ext
	/// </summary>
	public class MinecraftSessionInfo
	{
		/// <summary>
		/// 是否登录
		/// </summary>
		public bool IsLogin = false;

		/// <summary>
		/// 登录后的线程运行统一管理（登录中为true，退出登录后设为false）(暂时没用到)
		/// </summary>
		public bool IsLoginAfterThreadRunning = false;

		/// <summary>
		/// 玩家基础信息
		/// </summary>
		public PlayerbasisModel player = new PlayerbasisModel();
		/// <summary>
		/// 物品列表（目前有 快捷栏、背包、装备，存储家具）
		/// </summary>
		public List<GoodsModel> goodsList = new List<GoodsModel>();
		/// <summary>
		/// 玩家快捷栏中的格子数量
		/// </summary>
		public int ShortcutBarCellNum = 0;
		/// <summary>
		/// 玩家背包中的格子数量（只包括背包中的格子）
		/// </summary>
		public int BackpackCellNum = 0;

		/// <summary>
		/// 产出家具
		/// </summary>
		public List<FurnitureModel> furnitureOutputList = new List<FurnitureModel>();
		/// <summary>
		/// 装饰家具
		/// </summary>
		public List<FurnitureModel> furnitureDecorateList = new List<FurnitureModel>();
		/// <summary>
		/// 机关家具
		/// </summary>
		public List<FurnitureModel> furnitureMechanismList = new List<FurnitureModel>();
		/// <summary>
		/// 存储家具
		/// </summary>
		public List<FurnitureModel> furnitureStorageList = new List<FurnitureModel>();
		/// <summary>
		/// 宝箱（随机宝箱和预制宝箱都在这里面）
		/// </summary>
		public List<FurnitureModel> furnitureTreasureBoxList = new List<FurnitureModel>();


		/// <summary>
		/// 地图信息
		/// </summary>
		public MapModel map = new MapModel();

		/// <summary>
		/// 掉落信息列表
		/// </summary>
		public List<DropinfoModel> dropinfoList = new List<DropinfoModel>();

		/// <summary>
		/// 幸存者列表
		/// </summary>
		public List<SurvivorModel> survivorList = new List<SurvivorModel>();

		/// <summary>
		/// 尸潮信息
		/// </summary>
		public ZombiesbrushModel zombiesbrushInfo = new ZombiesbrushModel();


		/// <summary>
		/// 蓝图
		/// </summary>
		public BlueprintModel blueprint = new BlueprintModel();

		/// <summary>
		/// 房间号
		/// </summary>
		public string HouseId = "";
		/// <summary>
		/// 是否是房主
		/// </summary>
		public bool IsHouseOwner = false;


		/// <summary>
		/// 用户的成就信息
		/// </summary>
		public AchievementModel playerAchievement = new AchievementModel();
	}
}
